From 96dc2a7cd996934858a885711a0a46903bcb4b4a Mon Sep 17 00:00:00 2001 From: "lynx@idefix.cl.cam.ac.uk" Date: Fri, 20 Dec 2002 12:12:24 +0000 Subject: [PATCH] bitkeeper revision 1.7.3.43 (3e030928auyPMr1ywmnubpcNi3_yXA) further get_unmapped_area changes --- xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_memory.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_memory.c b/xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_memory.c index 82bdb4f07f..237df3fa98 100644 --- a/xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_memory.c +++ b/xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_memory.c @@ -317,7 +317,7 @@ int direct_unmap(unsigned long addr, unsigned long size) curr = direct_list->next; while(curr != direct_list){ node = list_entry(curr, direct_mmap_node_t, list); - if(node->addr == addr) + if(node->vm_start == addr) break; curr = curr->next; } @@ -346,7 +346,7 @@ int direct_disc_unmap(unsigned long from, unsigned long first_pg, int tot_pages) while(curr != direct_list){ node = list_entry(curr, direct_mmap_node_t, list); - if(node->addr == from) + if(node->vm_start == from) break; curr = curr->next; } -- 2.30.2